package com.todo.sight.application.iface.frontend.request;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import org.apache.commons.collections4.CollectionUtils;

import javax.validation.constraints.Max;
import java.util.List;

/**
 * @author azhebuxing
 * @date 2024/5/8 21:48
 * @description
 */
@Data
@Schema(title = "根据PoiId列表查询景点概要信息列表", description = "根据PoiId列表查询景点概要信息列表")
public class QuerySightSummaryListByPoiIdParam {

    @Max(100)
    @Schema(title = "poiId列表", description = "poiId列表，最大100数据")
    private List<String> poiIdList;

    public boolean baseCheck() {
        if (CollectionUtils.isEmpty(poiIdList)) {
            return false;
        }
        return true;
    }
}
